package com.eascs.p2p.common.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the p2p_datadic_item database table.
 * 
 */
@Entity
@Table(name="p2p_datadic_item")
@NamedQuery(name="DatadicItemEntity.findAll", query="SELECT d FROM DatadicItemEntity d")
public class DatadicItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="dd_no")
	private String ddNo;

	@Column(name="is_lock")
	private byte isLock;

	@Column(name="item_code")
	private String itemCode;

	@Column(name="item_name")
	private String itemName;
	@Column(name="item_desc")
	private String itemDesc;

	@Column(name="item_order")
	private String itemOrder;

	@Column(name="parent_code")
	private String parentCode;

	public DatadicItemEntity() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDdNo() {
		return this.ddNo;
	}

	public void setDdNo(String ddNo) {
		this.ddNo = ddNo;
	}

	public byte getIsLock() {
		return this.isLock;
	}

	public void setIsLock(byte isLock) {
		this.isLock = isLock;
	}

	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return this.itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemOrder() {
		return this.itemOrder;
	}

	public void setItemOrder(String itemOrder) {
		this.itemOrder = itemOrder;
	}

	public String getParentCode() {
		return this.parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getItemDesc() {
		return itemDesc;
	}

	public void setItemDesc(String itemDesc) {
		this.itemDesc = itemDesc;
	}
   
}